/**
 * @Author YuanYuan
 * @Date 2022/5/19
 * @Time 19:35
 */
public class TestDemo {
    public static void main(String[] args) {

        Person person1 = new Person("11",19);
        Person person2 = new Person("11",20);
        System.out.println(person1.equals(person2));
        System.out.println("-----------------------");
        System.out.println(person1.hashCode());
        System.out.println(person2.hashCode());
    }
}
